import re
text="window.open('http://www.ip138.com:8080/search.asp?action=mobile&mobile=13825529498')"
m=re.findall(r"1\d{10}",text)
if m:
    print(m)
else:
    print('not match')